﻿using Cheems.HMI.Models;
using Cheems.HMI.ViewModels.Interface;
using Cheems.Interface.Configuration;
using Prism.Ioc;
using Prism.Mvvm;
using Prism.Regions;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace Cheems.HMI.ViewModels
{
    public class MainWindowViewModel : BaseVM
    {
        public MainWindowViewModel(IRegionManager regionManager, IContainerProvider containerProvider,IAppVM appVM, IUIEventVM uIEventVM) : base(regionManager, containerProvider)
        {
            this.AppVM = appVM;
            this.UIEventVM = uIEventVM;
        }

        private IAppVM _appVM;
        public IAppVM AppVM
        {
            get { return _appVM; }
            set { SetProperty(ref _appVM, value); }
        }

        private IUIEventVM _uIEventVM;
        public IUIEventVM UIEventVM
        {
            get { return _uIEventVM; }
            set { SetProperty(ref _uIEventVM, value); }
        }
    }
}
